package com.winsdom.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.winsdom.dto.CategoryTreeNodesParent;
import com.winsdom.dto.ClaimDTO;
import com.winsdom.dto.PaymentDTO;
import com.winsdom.dto.ReceivePaymentDTO;
import com.winsdom.dto.resource.CancelClaimtQueryDTO;
import com.winsdom.entity.PaymentReceipt;
import com.winsdom.vo.BillDetailsVO;
import com.winsdom.vo.PaymentVO;
import com.winsdom.vo.ReceivePaymentVO;
import com.winsdom.vo.resource.ClaimRecordVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 收款记录表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2025-05-22
 */
@Mapper
public interface PaymentReceiptMapper extends BaseMapper<PaymentReceipt> {

    List<PaymentVO> findCollectionRecord(@Param("page") Page<PaymentVO> page,
                                         @Param("query") PaymentDTO paymentDTO);

    Page<ClaimRecordVO> seleCancelClaimt(Page<Object> objectPage,  @Param("dto") CancelClaimtQueryDTO billsId) ;

    void CancelClaim(Integer id);

    void claim(ClaimDTO claimDTO);

    List<ReceivePaymentVO> selectReceivePaymentByBillsId(@Param("page") Page<ReceivePaymentVO> page,
                                                         @Param("query") ReceivePaymentDTO receivePaymentDTO);


}
